﻿@Html.Partial("_HeaderContent")

<script type="text/javascript">
    $(document).ready(function () {
        LoadAjax(root, "ManageUsers", 1);
        $('.item').removeClass('active');
        $('#user_content').addClass('active');
    });
</script>

@*<script type="text/javascript">    
    var linkAddNew = "";    
    $(document).ready(function () {
        LoadAjax(root, "ManageUsers", 1);        
        $('.item').removeClass('active');
        $('#user_content').addClass('active');
    });

    $("#ajax_loadContent_withdraw").click(function () {
        LoadAjax(root, "WithDraw", 1);        
        $('.item').removeClass('active');
        $('#ajax_loadContent_withdraw').addClass('active');
        $("#Module_Content").html("Manager WithDraw");
        return false;
    });

    $("#ajax_loadContent_deposit").click(function () {
        LoadAjax(root, "Deposit", 1);        
        $('.item').removeClass('active');
        $("#ajax_loadContent_deposit").addClass('active');        
        $("#Module_Content").html("Manager Deposit");
        return false;
    });


    $("#ajax_loadContent_match").click(function () {
        LoadAjax(root, "Match", 1);
        linkAddNew = "Match";        
        $('.item').removeClass('active');
        $("#ajax_loadContent_match").addClass('active');        
        $("#Module_Content").html("Manager Match");
        return false;
    });
    
    $("#ajax_loadContent_team").click(function () {
        LoadAjax(root, "SoccerTeam", 1);
        linkAddNew = "SoccerTeam";
        $('.item').removeClass('active');
        $("#ajax_loadContent_team").addClass('active');        
        $("#Module_Content").html("Manager Team");
        return false;
    });
    
    $("#ajax_loadContent_league").click(function () {
        LoadAjax(root, "League", 1);
        linkAddNew = "League";
        $('.item').removeClass('active');
        $("#ajax_loadContent_league").addClass('active');
        $("#Module_Content").html("Manager League");
        return false;
    });

    function createObj() {
        if (linkAddNew == "") {
            alert("You can't add object");
            return false;
        }
        var url = "/Admin/" + linkAddNew + "/Modify";
        location.href = url;        
    }

</script>*@
